INPUT
ATM id*
Amount*
Pin*
 
API
withdrawATM()

USER STORY
To withdraw cash from account through an ATM
 
CODE
validate ATM's number
validate sender has sufficient balance 
validate pin 
deduct amount from sender
send SMS alert to sender 
display success to sender